<?php
echo $this->renderAlert();

if (isset($this->form) && !empty($this->form)) {
    echo $this->form;
}